package com.nalai.market.v1.service.impl;

import com.nalai.market.v1.model.Leveltwo;
import com.nalai.market.v1.mapper.LeveltwoMapper;
import com.nalai.market.v1.service.ILeveltwoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author com.nalai
 * @since 2021-08-23
 */
@Service
public class LeveltwoServiceImpl extends ServiceImpl<LeveltwoMapper, Leveltwo> implements ILeveltwoService {

    @Autowired
    private LeveltwoMapper leveltwoMapper;
    @Override
    public List<Leveltwo> findLeveltwoListByleveloneId(Integer leveloneId) {
        return leveltwoMapper.selectByLeveloneId(leveloneId);
    }
}
